$(function(){
    // $('#cate-nav').css({
    //     backgroundColor: '#f6f6f4'
    // });
    $(document).trigger('animateEleScroll', [$('#zp-left-p1'), 'opacity-transleft-fade1']);
    $(document).trigger('animateEleScroll', [$('#zp-left-p2'), 'opacity-transleft-fade2']);
    $(document).trigger('animateEleScroll', [$('#zp-btn'), 'opacity-transleft-fade3']);
    $(document).trigger('animateEleScroll', [$('#zp-right-p1'), 'opacity-transright-fade1']);
    $(document).trigger('animateEleScroll', [$('#zp-right-p2'), 'opacity-transright-fade2']);
    $(document).trigger('animateEleScroll', [$('#bn-title-p'), 'opacity-transbottom-fade1']);
    $(document).trigger('animateEleScroll', [$('#bn-des-p'), 'opacity-transbottom-fade2']);


    $('.js-add-cart').on('click', function () {
        $(document).trigger('addCart', [$(this).data('id')]);
    });


});